package org.cyzy.service.impl;

import org.cyzy.dao.Student;
import org.cyzy.mapper.StudentManageMapper;
import org.cyzy.service.StudentManageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StudentManageServiceImpl implements StudentManageService {
    @Autowired
    private StudentManageMapper studentManageMapper;


    @Override
    public List<Student> selectStudentInfo(String classCode) {

        return studentManageMapper.selectStudentInfo(classCode);

    }

    @Override
    public int removeStudent(String classCode, String studentId) {
        return studentManageMapper.removeStudent(classCode, studentId);
    }
}
